<?php
/**
 *
 * Distributed under the terms of the Eclipse Public License - v 1.0 (see epl-v10.html)
 *
 * If you use this software please consider contributing your revisions or extensions back
 * to the google code project at: 
 *            http://code.google.com/p/data-lotro-com-php-helper-class/
 *
 * Also consider adding an acknowledgement to your website:
 *  "This site uses the data.lotro.com PHP helper class provided by Chris Thomson and Renkosi.com"
 *
 * Change Log:
 *
 * v0.2 - Split off from main file for convience. (CTHOMSON - 16/5/2009)
 * v0.3 - Added the option to use Curl to get files, incase the server has fopen diasables for URLs  (CTHOMSON - 17/5/2009)
 *
 * @author Chris Thomson <renkosi@smog-it.co.uk>
 * @copyright Copyright (c) 2009, Chris Thomson
 * @version 0.3
 */


////////////////////////////////////////////////////
// USER CONFIGRABLE SETTINGS.

/** The directory where cache files will be kept. The webserver must be able to write to this directory! */
define("DATA_LOTRO_COM_CACHE_DIRECTOY", "./cache");

/** Your developer name for data.lotro.com */
define("DATA_LOTRO_COM_DEVELOPER", "YOUR_DEVELOPER_NAME");

/** Your API-Key for data.lotro.com */
define("DATA_LOTRO_COM_API_KEY", "YOUR_API_KEY");

/** Time in milliseconds to cache data, 24hrs is: 86400000 */
define("DATA_LOTRO_COM_CACHE_TIME", "86400000");

/** The data.lotro.com server address (may need to be changed for non-US regions) */
define("DATA_LOTRO_COM_SERVER", "http://data.lotro.com");

/** 
 * set to true to use curl to get the data, false to use fopen. If you get an error with one method, try the other! 
 *
 * @since 0.3
 */
define("DATA_LOTRO_COM_USE_CURL", true);
?>
